<!--

    Copyright (c) 2015-2018 Red Hat, Inc.
    This program and the accompanying materials are made
    available under the terms of the Eclipse Public License 2.0
    which is available at https://www.eclipse.org/legal/epl-2.0/

    SPDX-License-Identifier: EPL-2.0

    Contributors:
      Red Hat, Inc. - initial API and implementation

-->
<div class="factory-from-template" layout="row" flex layout-align="start center">
  <che-label-container che-label-name="Select Template">
    <div layout="column">
      <che-toggle ng-model="factoryFromTemplateController.templateName">
        <che-toggle-button ng-click="factoryFromTemplateController.updateFactoryContent()"
                           id="minimal-template-button"
                           che-font-icon="material-design icon-ic_unfold_less_24px"
                           che-title="minimal"></che-toggle-button>
        <che-toggle-button ng-click="factoryFromTemplateController.updateFactoryContent()"
                           id="complete-template-button"
                           che-font-icon="material-design icon-ic_unfold_more_24px"
                           che-title="complete"></che-toggle-button>
      </che-toggle>
      <che-editor editor-content="factoryFromTemplateController.factoryContent"
                  editor-state="factoryFromTemplateController.editorState"></che-editor>
    </div>
  </che-label-container>
</div>
